<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>创建entry</title>
</head>
<body>
    {% extends "learning_logs/base.html" %}

    <p><a href="{% url 'll:topic' topic.id %}">{{ topic.text }}</a></p>

    {% block content %}

        <p>创建entry:</p>

        <form action="{% url 'll:new_entry' topic.id %}" method="post">

            {% csrf_token %}
            {{ form.as_p }}

            <button type="submit">提交</button>

        </form>
    {% endblock content %}





</body>
</html>